package com.lovo.system.service;

import com.lovo.system.dto.PurchaseDetailsDto;

import java.util.List;

public interface IPurchaseDetailsService {

    /**
     * 根据外键id查询所有该条信息商品
     * @param fkId
     * @return
     */
    List<PurchaseDetailsDto> info(int fkId);

    /**
     * 入库时添加所有采购物品
     * @param purchaseDetailsDto
     */
    void insertPurchaseDetails(PurchaseDetailsDto purchaseDetailsDto);

}
